Class OCSPResponseStatus

java.lang.Object
com.netscape.cmsutil.ocsp.OCSPResponseStatus
All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value

public class OCSPResponseStatus extends Object implements org.mozilla.jss.asn1.ASN1Value
RFC 2560:
 OCSPResponseStatus ::= ENUMERATED {
     successful            (0),  --Response has valid confirmations
     malformedRequest      (1),  --Illegal confirmation request
     internalError         (2),  --Internal error in issuer
     tryLater              (3),  --Try again later
                                 --(4) is not used
     sigRequired           (5),  --Must sign the request
     unauthorized          (6)   --Request unauthorized
 }
 
Version:
$Revision$ $Date$
  • Field Details

  • Constructor Details

    • OCSPResponseStatus

      public OCSPResponseStatus(long val)
  • Method Details

    • getValue

      public long getValue()
    • getTag

      public org.mozilla.jss.asn1.Tag getTag()
      Specified by:
      getTag in interface org.mozilla.jss.asn1.ASN1Value
    • encode

      public void encode(OutputStream ostream) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • encode

      public void encode(org.mozilla.jss.asn1.Tag implicitTag, OutputStream ostream) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • getTemplate

      public static OCSPResponseStatus.Template getTemplate()